package cn.yunyichina.provider.cashpool.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.yunyichina.provider.cashpool.entity.CouponPush;
import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;
import cn.yunyichina.provider.framework.page.PageInfo;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2017-03-28 10:56:57
*/
@Repository
@MyBatisRepository
public interface CouponPushDao extends BaseDao<cn.yunyichina.provider.cashpool.entity.CouponPush>{
    List<Map<String, Object>> selectByCondition(@Param("wheres") CouponPush wheres, @Param("selects") List<String> selects,
            @Param("orderColumns") List<String> orderColumns, @Param("isAsc") Boolean isAsc,
            @Param("pageInfo") PageInfo pageInfo);

    Long selectByConditionCount(@Param("wheres") CouponPush wheres);
}